import request from "@/utils/request";

// 查询中间计量（站点）
export function queryPeriodMeasurementList (query) {
  return request({
    url: "/cm/periodMeasurement/getlist",
    method: "get",
    params: query
  });
}
// 查询中间计量列表(标段)
export function queryPeriodMeasurementListByBd (query) {
  return request({
    url: "/cm/periodMeasurement/getbdlist",
    method: "get",
    params: query
  });
}
// 修改中间计量
export function updatePeriodMeasurementList (data) {
  return request({
    url: "/cm/periodMeasurement",
    method: "put",
    data: data
  });
}
